#!/bin/bash

echo "BEGIN INSTALL ROS:" 
cd installation_ros
chmod u+x ./ros_install.bash
sudo ./ros_install.bash
echo "source ~/ros/fedora29roscartographer/installation_ros/install_isolated/setup.bash" >> ~/.bashrc
source ~/.bashrc

echo "BEGIN INSTALL CARTOGRAPHER"
cd ../installation_cartographer
chmod u+x ./install_cartographer.bash
./install_cartographer.bash

echo "FINISHED"
